package copy;

import java.io.Serializable;

public class SerializableStudent implements Serializable {

    private Integer id;

    private String name;

    private SerializableSchool school;

    public SerializableStudent(Integer id, String name, SerializableSchool school) {
        this.id = id;
        this.name = name;
        this.school = school;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public SerializableSchool getSchool() {
        return school;
    }

    public void setSchool(SerializableSchool school) {
        this.school = school;
    }
}
